#ifndef TRANS
#define TRANS
#include <sys/socket.h>
#include <stdio.h>
#include <iostream>
using namespace std;

class Transport{
public:
    int sfd = -1;
    char buff[1024];
    Transport();
    Transport(int sfd);

    void changeSocket(int sfd);
    int recvData();

};

#endif
